/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ceair.flight.refund.location.dt.enums;

import java.io.Serializable;

/**
 *
 * @author information
 */
public enum ServiceMessageEnum implements Serializable {

    SUCCESS("0000", "成功"),
    INVALID_PARAM("1111", "参数错误"),
    INVALID_STATE("2222", "状态错误");

    private final String code;
    private final String message;

    private ServiceMessageEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
